home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / hlp_auth / gethel / gethelp.doc < prev    next >
Encoding:
Text File  |  1993-09-21  |  1.1 KB  |  29 lines

  1.  
  2. GetHelp was written because I didn't want to write down what each control
  3. or form used as a helpcontextid.  I save all my forms as text, so
  4. writing a program to look at those forms and produce a file that I could
  5. just #include in the help project file seemed like an easy thing to do.
  6. It was easy and imminently useful.  If this program is run before you
  7. actually write the help file, things go easier.
  8.  
  9. After running GetHelp, you will see two files, HelpID.txt and HelpID.H.
  10.  
  11. The text file is a summary of all the controls that have a helpcontextid
  12. in the program.  The include file generates a name for the help topic
  13. that you must use as the topic name for the help file.
  14.  
  15. For example, if the form's name is Form1, and the control's name is
  16. Control1, then the help id for that control is id_Form1_Control1.  So in
  17. the help file, you use id_Form1_Control1 as the topic, and anything you
  18. want for the search and keyword information.
  19.  
  20. Under the [MAP] section of the .hpj file, just include the file like so:
  21. #include <helpid.h>.
  22.  
  23. Enjoy, and any comments are welcome.
  24.  
  25. Jeff Lorenzini
  26. CIS: 76507,2166
  27.  
  28.  
  29.